Made MapWorker run on a thread
Fixed compile time error in WorkerListener