Move up rather than clearing the screen to reduce flicker when drawing the UI over ssh, add some basic logic for truncating long filenames