fixed some stuff; runs on windows now, but seems really slow :(