properly wrap XMPP stuff with "#ifdef HAVE_XMPP"
maintenance: replace implicit casts with explicit
use START_LOCATION as default settings
fix copy-n-paste typo
gravity disabled by default
disable environment gravity when not set in menu
Merge pull request #2794 from AndrewMeadows/thermonuclear

misc maintenance and bug fixes