V2.2: added comments, added deselect, fixed disappearing pieces