changed to now care if pt throws any error on logger delete
reworked some port stuff