Fix /theme and /layout commands. #3
Add a sprintf shortcut.