Merge pull request #67 from vasichkin/master

FIX globals
Fix destroyed status