added more functionality to mapper. TODO: add drawing of foci and progress