Add settimeouts to prevent freezing the browser
Style it up
Clean up the design a bit