Restructured URL code so it fits better with how winboard is set up.