Getting rid of BOM
Fix endlines
G_CONST_RETURN has been deprecated from glib