Merge pull request #38 from e55k4y/dev

Nodes change color on selection. Automatic change of state between addin...
Merge pull request #39 from e55k4y/dev

Code is refactored and simplified.