Added debug statements throughout code for troubleshooting and bumped minor version