Added a case handle to the subscribe function in case an attempt is made to subscribe to a process that does not exist
Cleaning up some warningsc
Publishe message testing done