Moved initialization code
- moved some initialization of monitoritem into constructor
  of private data
Handle R_DIRECTOR in free_resouce()
- updated free_resource() in tray_conf.cpp to handle the director too.