Some bugfixes
Added functions, made draw_text_box have a slight margin
Added tooltip function