IE fixes, some refactoring, contact form