Apc

Ports additional powernet changes from /tg/, mainly concerning the SMES, machine processing, and area power updates.

Our APC load balancing is again a victim but the current processing is more release-friendly than my previous attempt. My previous attempt worked fine as long as there was enough power. If not, things got extreme fast.
Also aware that one (autoflag != 0) check is lost.

Will continue work on correcting this.