* optimize code for gPopupLayer
* tidy up params for Blueprint's ctor