- fixed showException()
- createLayout() refactoring