Added behDemandMonitor, added behLiteralBeh, and fixed an issue with isConnected().