fixed bugs in dumbhero logic and added step, pause and restart buttons to gui