Fixes #6
Fixes #10
Fixes #11
Fixes #12 only for Firefox
Fixes #14