Raise maximum reference frame limit and comment
NPE
Try to fix headless mode detection on Ubuntu 12.10

#37
Updated comment and log message
Ignore NPE to see if it helps with duplicate files showing up
Fixed filename in log
Formatting