Lots of cleanup, added the ability to rotate machines, auto

texture updates for when solar machines are working, fixed packets, and
more!