- message queue key now generated with ftok
- message queue is now removed when terminating
- made some logging look cleaner