bug fixes, menuitems for display, example1 for documentation