Added panels functionality; changed CommandDispatcher behavior