fix for area coordinates and dimensions not being saved in firefox
more detailed area toString()
averaged position added, plus a few more unittests for position