spawn a daemon thread to look at mapLayer