Working energy and stress calculator. Rudimentary remote queue support. Needs some improvement but works.