Moved struct and enum declarations from prefswindow.c to .h.