Cleans up mode command, adds "settings" mode.
Ends the initial failed request on app start
Makes asynchronous requests synchronously to avoid ECONNRESET