long file name crash fix

index page opens in its own target
child pages do not open multiple new tabs