message passing fixed
preliminary work on server/client naming
cleaned up lock usage
fixed loglevels not working properly
removed debug message