More simplification in nanobot.py, try to handle quit messages right in app