Rewrite all constants and GCPLine to not use lowercase and fix bugs with that switch