Bugs, Glitches, and their Fixes