ow, ow, i didnt even see your post when i wrote my reply. Well, i trust you its ugliest. I dont like it either. Partly becouse it is really ugly and partly becouse i'm not sure what i'm writing there. I didnt read anything other than Help files when writing that.
Well, some things you said here i read from Icz Tutorials and tried them myself. As for threads, i dont really need to update it (unless its changed O_o) becouse this specific program has only 1 thread while i need to debug it. Later i'll just detach.
Thanks alot for these snippets
Hvala komšija