Direct port from Java model code. WIP
#136 If the sim is paused, disable the fill button as soon as the tank is full.
Merge remote-tracking branch 'origin/master'
#136 Handle the case when switching from play to pause or vice-versa and the tank is full.