Made large changes to AdvancedMouseListener and all related classes.