theme/appearance stuff; improved theme loading