corrected bugs in note_printer.py
added tests for printer
expose colors for external API
check for error when db isn't up
use printer in notec