Added a basic Web UI

Fixed other minor bugs in SMS as well