Compilewarnings

I fixed some compiler warnings I found and created a TODO list.