Fixed myterm falling back to xterm. Added util to print the extension of a file (useful for rename loops in bash/zsh)