Adding extra warnings
Quite a few changes:
	- Sort variable declaration from largest to smallest (better stack usage)
	- Avoid calloc/free if possible
	- Eliminate FREE: tags as much as possible
	- Avoid retval variables if they are not necessary
Const-ness related changes