Damn, you are right, that will teach me having a quick look and for not testing the code. Now I had to fire up "fuse" (spectrum emulator) and run the damn thing to check for errors.
It is still a spooky program.
Anyway, to end this side chat, here is pangolins for anyone that wants to run it on one of the many speccy emulators out there.