* Removed some unused imports and variables
* Improved branch creation algorithm
* Reduced GC caused by player sprite reloading