added footer, remove fixed height on results, and debug flag for console logging.