Hi Leo. I forgot to mention earlier, if you haven't tried the arm gui then it might be worth a look. It's GTK, python, and functional so it might have some bits that you'd find to be useful.
To run it simply download arm (http://www.atagar.com/arm/download.php) and run "arm --gui".
Cheers! -Damian