multithreading almost complete, will implement usermode tommorrow, and synchronization if possible