Version 0.79

Divided the action taken on G, M and T codes into three separate
functions, as suggested by dc42.  This allows M to be done first
which eliminates the bug when filenames have an upper case G in
them.