Added option to limit the number of characters allowed in a note.

Signed-off-by: Euan Torano <euantorano@gmail.com>
Reformatting code.

Signed-off-by: Euan Torano <euantorano@gmail.com>