minor clean up

need to add text field, implement undo