Add some error checks to Console functions