Fixes and improvements to Server, Overlay

Tidying up some loose ends.
TADA! OS X is grateful.