Midnight Commander viewer rewrite (ticket 3250)