Added quitting flag to baseapp so that if we PostQuitMessage on error , we can stop application from crashing