I'll see about the first request (buffer size, it's handled in mafw). Second part, already working on it: