code commented, support for live tiles added