add active-selection attribute and add code comments
Release 0.1.20