Stopping blocks, clearing rows, and ending the game

Stopping Blocks Clearing Rows Ending the Game Residual Quirks Project Trivia The program code as of this point can be found here. As I mentioned last time, I need my program to be able to resolve the following 3 questions: 1) When should blocks stop falling? 2) When should a line clear occur? 3) When is the game over?