Actually process entites in app loop.
Forgot you, fixed build.
Coding Style Cleanup