Add missing semicolons, remove unused timer var