Major change fixing format of tabs.
Trap errors thrown from module method.