if content_type is None, dont return it
print profile results regardless of system exit
allow flash messages to be dismissed, fixes #40