selection mode changed, some colors added. refactoring. some ideas - some good, some stupid.