Added additional checks, removed debugging

Signed-off-by: Brandyn A. White <bwhite@dappervision.com>