Fixed threads, colors to gui, other things