Fix crash when unable to initialise input
Fix startup termination on error