Code tidying

- Tidied up case insensitive XML parsing
- Made use of helper functions in TextButtonProperties
WARNING: Component to Parameter mapping by name is no longer case
insensitive