bring back lost quit function
graceful quit for compiled executables