Added postInitialize app method
Fixed a bunch of warnings