after much fucking around trying various RPC server implementations for the StillbotMaster class (whose access to the serial port would always get killed) I settled on the Werkzeug webserver, yippee!