fixed bug that created zero-elements on the board
simplified the GUI
making layout more flexible for different screen sizes