few fixes
Comment out pry-debugger
Uncomment debug codes

Checking to see what the deal is.
Remove pointless check
Uncomment out check

Assuming it is there for a reason or it would have been deleted.
Add development dependency on atomic

Info http://rubydoc.info/gems/atomic/1.1.16/frames