working on gui:

1. addded docking functionality
2. refactored lots of gui-related stuff
3. while working on gui fixed standards in ness-engine code