Implemented prerender thread (and 3 mutexs), added "speed way up" to acceleration and clearing resources