Make it possible to pin notes. Update the look of the icons. Cleanup code.