Fix a bug with 1.7.2 compatibility, rewrite the tweaklauncher to work better and work with 1.7