Corrección de errores y algunas mejoras.

https://mega.nz/#!lJB22aBa!FzZv6Jv8Y...v7p2FqX5M3cDVY