Hotfix #1

Debugging messages added.
Changed randomizer.
Hotfix #2