Start fixing themes and adding tests for the shell.

While incomplete, a few big problems have been solved - like missing
classes :/
Fix build task for themed files.