MOBWOT-470: Minor code clean-up and refactoring.
MOBWOT-470: Methods 'GetState' and 'GetFrame' were added.
Corrected to use right "FindControl" method.
[DF-185] Merged with development
Merge pull request #261 from ya-888/development

DF-291 small lua refactoring