Cleaning up live tile implementation and code refactoring.