Beta17 bug fixes

Fix crash when stats opens due to refactoring in beta17
Fix issue where note editor shows false negative for changes to note when it includes html formatting
Fix issue 2323 whiteboard bug