map background cleanup. Fixes #12 #20 #22