Integrate logging and warnings module to handle errors.
Adjust invalid theme warning text.