Removing the weird globals stuff from the top of mapcommon appears to fix the
labels being on by default and has no ill effect on embed's functionality.