updates to libraries and image editing/rotation mostly working