more auto complete done.

also removed some white spaces from some files.