working to get themes right

Making the themes stuff appear correctly if the themes are ranked