Added logging component (a few changes to ApplicationPanel)