New Method getFullCast,  and FALSE constants as uppercase, some variables initialization and preventing  some accidental assignment in a condition, curl part as a function that can be used if needed, some refactoring, fix some notices.