more refactoring
clean up
text no longer overflows box, tests green
adding new implementation of editor