Fix shadow artifact on some browsers
Assorted bug fixes
Some small tweaks