Trying to clean up some client side memory issues.

Setting some variables to null to try and assist poor browser garbage
collection.