Added feature detection for File API and Canvas. Also used a more stable file reading method for IE10