Added pause, restart and quite game support.