Rename keys to index.
Don't terminate if realm client has left.
Drop unused code.
Log to console if STDERR is connected to a tty.
Exit on closed remote connection.
Handle undef returns of Geo::IP.
Dump and load instance trees from/to disk.