fixed minor errors in ElementProgressBar. Triggers can now be handled by creating methods that match the trigger name or map the trigger name with @EventHandle