Missing unsafeWindow for global function and missing user in user.username call.
Added missing calls to overwritten functions
Changed URLs due to username change
Changed error log to show more info in the chat and console directly. Also using the sites add error message
Merge branch 'Dev'