Bugfix in RuntimeAgent + improvement of startup messages

@Schoonology please review.