Switch move to fixedupate, better wave generation, better keyboard input handling