fix link creation functions, add operator
format gui source