Implemented workaround for bug https://haxenme.atlassian.net/browse/NME-252. Using polling instead. Refactored project structure. Added supported for scaled stage. Updated first sample.