Fixes main issues in #33, but typing really long notes still doesnt work great