Added the ability to provide hints for the file type
Added more graceful handling of changes of the view dimensions
General bulletproofing