* Remove gap between window control buttons and top of screen, add square hitbox to window control buttons
* Add better overflow detection for context menu
* Remove gap between tabs and top of screen
- use CSS contain wherever possible to reduce subtrees of forced reflows
- reduced dependency between note and note_contents updates which will reduce number of updates to components
- optimization of "many rows" querying