Added in catches to the ports functions to enable logging.  Extended the table for the actions logging to allow for objects that have an id made up of two objects. #61 #317