Deactivate theme engine plugin if it exists.
Ensure theme engine plugin is properly deactivated when updates occur.