New themability capabilities. See customization.

Cleaned up the code a bit.

