index.php caption fixes

-> ignoring empty lines in captions.txt that caused crashes
+ using captions.txt over EXIF and file name