Cleaned up cast and debug messages

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