Okey, its quite a large mess of code. But I'll make a smaller project that shows the problem and post it here asap. Thanks!