Improving documentation.
Fixed on_event() error checking before call of on_change().
Reducing level of calls.
Improving Queue and Event handling. Performance increase of event push.
Fixed name of function get_length(). Renamed available() for symmetry.
Improving documentation.