Removing out-dated todos. Changed compilation warnings. Fixed warnings
that emerged.
some preferences