earlier check for fork
restructure startup flag checks a bit
better
small fix
new option: nogui
xcode
better nogui handling
cleanup