Fix a good number of bugs, Add DEBUG option