Middle click shouldn't open unrevealed tiles
Added timer, did some refactoring