Fixed uninitialized value error.
Corrected strings.
Tidied.