Changes regaurding some errors and mess ups. Fixed another issue in ./lib/api/api.js where some return statements didn't have ``this.sendReply()`` attached to them.