Seems reasonable to me, but I can't check on windows and the GTK-spurts such as @b4n should also comment.
@dwledwards I have taken the liberty of editing your post to enclose the code sections in lines containing three backquotes to stop Github interpreting code operators as markup.