Fixed memory leak

gameboard destructor deletes window