Fix some options being dropped
Extract logging into own module
Clean up logging code
Use events
Move proxy to own module
Move argv processing into cli module
Honour 'host' option
Start web ui