Fixed crash when on empty line, & compile issues

Fixed an exception that was thrown when CASCConfig encountered an empty line.
Fixed compile issues related to out parameters in CASCHandler.