text: Add output to input_panel_surface::set_toplevel

Fix some bugs.
text: Move input panel into an own file
fix a small issue
Fix some stuff