Fixes option panel, removes old config