Fix scrolling on iPad.
Many changes for increased stability.
Sort notes like the web app does.