Added error handling to theme loader

Removed hard-coded error line highlights