Fixed a bug with constructing new buildings in which I had tried to insert a value of -1 into an unsigned integer field in the database.

Fixed a bug in the username-fetching portion of the messaging system which would cause an error when there were no messages for the logged-in player.
Merge branch 'master' of https://github.com/allencct/Dvorak