Improve user event firing and fix error on default value

Value needs to be an integer. Oops.