better libgs detection
formatting
include math.h for SQRT(2) macros
correctly init the image module
Merge branch 'master' of github.com:vtorri/ecrin