check for array type instead of length, fixes #78
use config for color customization, fixes #64
use message instead of tojson in db.shutdownServer(), fixes #73