Restored theme listing code in theme admin to fix issue #1151