Frame and serial code for wxpython. Just a starting point