Added duplicate entries check.

And more:
- this is not Java, do not put 'm' before vars :D
- changed some inner class var and procedure names to make more sense
- The compiled EXE file is now up-to-date with the latest sources.