added NLog logging to the controllers for unhandled exceptions
refactored scaledscores and writing scaled scores to check for 'dirty' before db update