big mess upon realising pyplot is causing main loop to take 1/4 second :-(