Style and resize changes, better error handling
Added gh-pages-deploy support