Polished agent and debugger interaction.
A bit better logger. Should replace it sometime...