Fixed a memory leak in WindowBase
Also some minor changes to Game class
FontManager
TextElement
TextElement to Button-class
Added missing ttf initialization code
TextElement now updates its width/height
Fixed height calculation in FontManager
Changed textelement width/height calculations to query texture for its size instead of using approximative values
Increased button font size, changed debux button text and increased debug button width