Cleaned up mess, the gtk interface will be written in python instead of C