Fix typo.
Add logging for client bundle optimization.
Fix bug with template loading on client.