Added some error checking and removed open srt button