added EReg, fixed Type and Refect, take ArrayDecl during generation into account, some fixes to the python std-lib