bug fixes. added getMode( ) method
readme edit