Fixed many bugs, improved functonality for patching launcher