update error message to describe the correct debian package
add skeleton configfile to gitignore to preempt carelessness
fix bug where cap wasn't getting updated properly, add message on failed JSON decode
simplify memory management, remove useless heap allocations