Adapted to modifications of the capabilities Radio API;
also responded to remarks from g-oikonomou.