Implemented preventing self line connection.
Changed not to draw any line of Group when not selected. 
Added empty declaration of IO classes.
Fixed bug which caused not releasing all multiple selections when
clicking empty space.