remove timer profile code and other minor cleanup
Made NativeFunctionMap and ReceiveMapCallback typedefs top-level in cidart namespace