Improved lamexp_themes_enabled() function.