Fixed Syntax of bind_param
Cleaned up code after debugging

Removed several print statements
Fixed a variable name in an error catching case