Small fixes, started on code for textbox