Fixes and improvements to Server, Overlay

Tidying up some loose ends.
probably should assign the exception and add what() to the log output