Removed alerts from mainpage.html
Replaced annoying alerts with friendly console outputs