tried to fix the stupid uuid stuff, with help of iChun's code. Thanks @Lunatrius. Lets hope this doesn't make java poop itself.