Removed whitespace and resolved compiling warnings.