removed debug setting that forced us to use cli-mode. removed unecessary
system.exit. added logs to document whether the user decided to run a
local server or not.