Partial commit -- work on tabbed lexem models; upgrade to smarty3