Formatting, and pulled some utility functions out of the constructor
Removed unrequired code (and this is bad - a view shouldn't be a source of data events!)
Just to stop Scripted editor complaining