Always show correct filename in title bar

Signed-off-by: Sven Strickroth <email@cs-ware.de>