Fixed Folder Opening. Some refactoring. Added support for another image format used by the game The 3rd Birthday. Indexd image cnstruction algorithm has been changed: now encoded images can be viewed with a progressive grayscale palette.