on /demo, only show console results for API requests.
added some documentation.