made map background use mapwriter stuff