progress in refactoring
fixed stealth unit escape
fixed render system