Improved version

Script now able to handle empty template glyphs properly. Extra
combinations added to ligature dictionary.