Fix build warnings. Also, removed doc.xml files for debug.
Merge pull request #43 from onovotny/master

Code cleanup