bugfix: missing parameter for array_slice
replace asort with sort
createWatermark now return the watermark string
use an integer instead string
add logRawCameraUpload
improve default values