[3] Implemented downloadManager.downloadLastStableVersion.
Simplified split.
Fixed Warnings & possible memory leaks.
Various bugfixes and optimizations.