Bugfix: App always quitted on error, ignoring the quitapp setting.