Fixes to update masterserver code

Masterserver now correctly updates the columns to the ones on the static page.

Headless servers won't receive desktop notifications until a user connects to them.

Also formatting fixes.