selected item functionality + dom helper functions
Merge branch 'files' of github.com:darcu/ics into files