try to reduce frames referenced by callback fuctions. Some cleanup.
Merge pull request #8 from pascal-fb-martin/import-calendar

try to reduce frames referenced by callback fuctions. Some cleanup.