added 'rpconly' mode - runs in command line without gui. good for testing or running as deamon with nohup