Remove manual layouting in favour of CSS sizing
Rewrite IE-specific CSS
Fix #11 + test

Also use public fields in shared state.