Code cleanup

Removed a lot of unused values and some other small cleanup. (left ones associated with robots, because I assume they will be eventually used)