some capital letters errors fixed
..
removed almost all compilation warnings