Fixed several casting warnings.
Fixed several bugs in source code that ASC 2.0 detected.
Compiled SWC.