added inputbox to editor
fixed some editor bugs