cleanup
avoid making anon function
Revert "Now notes don't overlap the tabs (should improve more later)", fix tabs rendering

This reverts commit 203bd5f2cdd251b6949f342b7042cb2ccb87c998.
2.6.5