fileGUI: fix status text in certain situations
fileGUI: prevent stack overflow when viewing files as text