Added network session type; more eventhandler changes