Warning fixes

More warning fixes, some printfs, some signedness issues.

-[Unknown]