WARNING

This is a huge hack for debugging purposes and code looks that way. Even LE loading part makes too many assumptions about EXE file. It could be cleaned up for actual usage.