Show online/offline automata status

Or, er.. wake them up? Maybe a CB issues?
Support custom Mages

This includes Entity-based mages or just a Mage with any unique String
id.
Some castp fixes