issue# 598 fix add module bug. issue #587 moved expand / collapse / clear to context menu.