Implemented most of the "best practices" from the Quake3 code base, shortened the call stack where possible, misc fixes