Removed Warnings

Fixed various warnings so the project compiles cleanly.