Fixed memory inconsistency.

Fixed crash during obtaining hook function addresses.
Deleted dependency on console and redirected data to log window.