Fixed trailing whitespace after package names, remove all AS3 class-only references, fix casts of return values from functions, fix some for loop insanity, and remap shortened AS3 nullary constructor calls.