Fix for Bug #1302. The AttributeMenuTool now uses an attribute's index
instead of name for compatibility across different locales.
Added in backwards support.
Fixed bug where it wouldn't load properly due to the combobox not being
populated with data yet.
Now setting focus on mouse down

Change-Id: Iad47849a7bb2502657d314e3dd4bae7c436911a2
bug fixes and code cleanup

Change-Id: I3f4efb053f962abb6ecc47a72f60c132d5d2afc5
added csv export

Change-Id: I8d9f822bfda3ece8370b240ea92036d38efbf1c6