Clean files, fix for Mac

Fix when length of line is 1 character more
Clean files and '.h' files
More clean up, Correct print out

Print out to stdout.
Fix printing for subtitles (specially last one)
clean up for validacion
Merge pull request #2 from aparedes/cleanup

Clean files, fix for Mac