fixed some stuff, added some more comments
fixed bugs, made stuff work, added stuff which I missed to commit by hand from that damn school computer which doesn't even have a git client installed