Tag-related fixes

Fix: tagged notes could be empty due to style recomputation on lazy load (bug introduced with textDocumentToMinimalHTML)
Fixed crash on right-clicking tag icon (on setting the hotkey sequence)
merge online branch