Now compatible with 64-bit systems also. Fixed one bug.