Two small fixes that caused big issues!

Forgot to make global $smof_data in of_save_options() (bad because i
compared against it) and also used the wrong variable for 2 hooks.