Implement status showing total, active and displayed units.
Major code cleanup.
Make members private.
Improve right-click menu.