Added a macro to loop over both dense and sparse matrices with minimum
hassle
Separated event loop from display op to enable event framework even when
display not needed or not possible. Minor change to get_property
functions to allow checking the existence of a property with 0
parameters.