working on threading, commented out most sfml basic stuff which breaks the thread for some reason