Factored out a lot of tetris logic from the gui class