Added pencil tool test, queue events that cause an error are now marked as done to prevent infinite errors