Removed a few unneeded printf statements.
Fixed missing header extention.
Fixed a few compilation issues.