Some refactoring. Also added resizing and blurring of image without apparent overhead
Merge branch 'master' of https://github.com/n1ck3/ambiled