Qt4 simulation of W Ross Ashby's homeostat