Performance readme and code fixes

I played around with it and got it running - please review my changes because we haven't got any tests for this component, my changes may break something.