* Fixed new weapon code. Hopefully.
* Fixed most of the compile warnings.