fix npe caused by legacy define statements. fixes #160
fix add naming exception quick fix from using deprecated exceptions map
doc updates
fix dialog subclass template
doc updates on file templates