Extract helpers and fix image aspect ratio
Implement some crappy rotating