Fixed some compiler warnings and minor code tidy up.

git-svn-id: http://graph-studio-next.googlecode.com/svn/trunk@336 c2f33eb2-41b2-391d-4cb4-d9d0608729ba
Update issue #16 : Build fix for filters project

git-svn-id: http://graph-studio-next.googlecode.com/svn/trunk@337 c2f33eb2-41b2-391d-4cb4-d9d0608729ba