better error handling for inturrupts during app start.
Added notifications support, lot of code optimizations.