code cosmetics on the P2p gui