remove wrong copyright, reworked image sizes to work better ( pow(2) image size ), removed compiler warnings