Fix exception when trying to open a non AviSynth script file

Closes #21
Fix tab metadata not being copied when creating a new tab by dragging text from another