Fix use of wrong var.
Merge pull request #17 from methylium/startup-nullref

Startup crashes if the provided startup is null.