add debug info. Check DEBUG macro to toggle. Also updated short1 to be more useful