Implemented drawing the internal state (very simple atm).