Adding exceptions to prontserve
Refactoring pronsole logging so that prontserve can send useful errors over websockets