Progress towards issue #1.
Deleted JSDraw external library since it’s no longer being used.  Finished highlighting code. No longer highlights objects that aren’t relevant just because they’re overlapping and highlights grouped objects as a group. This commit resolves issue #1.
Made considerable progress towards a generalizable menu that can handle grouping, ungrouping, disappearing objects and transferring objects. Menu for disambiguation when there are multiple possible interactions shows up but doesn’t show possibilities yet.
Some progress towards issue #7. Progress towards showing the end result of an interaction in the menu, rather than the current state of the objects.
Cleaned up code a bit to make it more readable. Also made more progress towards issue # 7
More progress toward issue #7. This issue is almost completely implemented now.
Added changes to the epub files and the JS to display the hotspots on top of the images. Resolved #3.
Updated epub files to fix the truncated background.
Added code to filter relevant hotspots between two objects by looking at the role of the hotspot and comparing that role to the relationship between the two objects.
Only drawing relevant hotspots for the interaction now. Hotspots aren’t drawn at all until they’re overlapping with an object they can interact  with.
Removed any remaining references to the JSDraw2D library.
Changes to possible interaction adding a Connection that seems to be breaking the menu item creation.
Comments
……
Added a max number of items that can be displayed in a menu. Fixed some of the layout bugs in the menu. Changed the data structures a bit.
Added some comments. Code cleanup.
More code clean up, added a few more comments, and commented out print debugging statements.
Most recent versions of the epub files.
Modified code to remove duplicates as well as to generate similar possible interactions when user touches either object in a group.
Code changes occur in the functions panGesturePerformed and getPossibleInteractions. There are some variable declarations in the beginning as well.
Updated Color of the hotspot, Changed variable names into long meaningful ones, gave comments on what those arrays do