Cleanup changes

- Got rid of circular dependencies on resources
- Removed redundant namespace qualifiers
- Warnings = errors in Release build