Use system_settings_form() rather than custom implementation, move to admin.inc and fixed a couple of small styles issues from @mpdonadio