Bugfixes in main.py

* Forgotten "\n"
* Very beginning of a web interface