Cleaned file reading and writing methods in Points class
Deleted unnecessary variable crashedItself with method hasCrashed()
Deleted unnecessary variable hasEaten with method hasEaten(); changed food creation from first move to reset()
Restart is working now if previous game did not end - deleted some unnecessary fields and removed unnecessary new thread starts
Some minor corrections
Memory leak corrected
Snake moves now only when it is needed
Previous refactor is corrected
.
.
Corrected a serious bug: if up and left buttons were clicked very fast in this order when going rightwards, game ended as if the snake would have crashed. The best solution was to buffer the handles. Now the navigation blocks until move is fully done.