Refs #5422 Corrected python script to work with inx files.

Also changed the extension output from when using inx.
Refs #5422 Added better function string parsing.
Refs #5422 Fix window resize quirk.