multiple changes
- changed action listener to anonymous 'inline' action listeners
- added javadoc
- minor improvements