Enable window resize, code and log cleanup