[lipstick] Fix crash when shutting down.
Merge pull request #174 from sletta/crash-on-shutdown

[lipstick] Fix crash when shutting down.
[lipstick] Put common objects into the root context of the engine so that they're available from all windows