MADS: Implement palette::lock() and unlock(), get rid of some magic values in scene 202 and 203, some renaming