Set Mac title.
Use a hashmap to allow interweaving of events for different files.