Cleanup

Replace tabs, remove trailing spaces, keep coding style consistent