[feature] - shutdonw properly in app manager
[feature] - Crockford protection to core
[fix] - example is fixed for it