Extensive changes made

Took out unneeded vars, did null checks, removed all unneeded sleeps,
fixed scales p/h