Don't create sub-folders when unpacking in compact mode.
Cleaned up installed version detection.