fixes #19 - fix column sizing problems in IE9. refactor some code while i am at it.