Use loop_forever, better use of callbacks, separate mosquitto callback handling from message processing
Removed prints, tidy up
Use a Last Will and Testament
PEP8 happiness