Improved the theme and grammar loading interface so it is possible to
load a single grammar or theme file by hand.