Added aborting for missions, finished delivery missions, cleaned up code