Beginning of gtk graphics implementation