Added text buffer and simple event handling
Added font_height
Changed event structure