fixed notices and deprecated use of add_options_page