implemented inputbox, more gui stuff