refactored MultilineBox and InlineBox to extend Box class; should
probably just have an ArrayList of Box, rather than two ArrayLists, and
specialize helper methods.  
Need to tweak allowKeyEventInBox to better support inline stuff