Debug simbols.
Fix double includes.
Fix more double includes.
Add a test target.
Add a debug target.
Fix makefile.
Fix a pair of warnings.