Seems like I've found the errors in my coding.
Now I just need to go thro it again to check that it accually does what I want ;P
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!