Multithreading support

Finally working multithreading. Sadly color picking is bugged. Next
step: Get rid of Color.. everything hex RGBA values.