fix app initialization and destruction
fix app initialization and destruction

1. Why is this change necessary?
parts of old initialization strategy were still lingering around

dareenzo/f.js,dareenzo/f.js