App Bridge +get_order

Got get_order working.  Added a few $DB->close() lines where they were
needed.