Few optimizations and fixes
Merge remote-tracking branch 'origin/master'
Fixed exit in hero