removed some trash files and fixed a few warnings