Thread stuff

Basic minimap thread works :)