Fixed unsigned error debouncing. Removed debug output.