tweaks to async-await & deferred loading code
Merge pull request #47 from dart-lang/enum

tweaks to async-await & deferred loading code