use tabs, not spaces

it's an editor thing.
make compilable again, fix minute issues

compiled scalers NOT ported yet. too much for my frail mind, without any way to
test.
build errors out at ca again.