Implemented UserControl; general refactoring
Better handling of IDs within user controls
Improved error handling