quick fixes

tidied up source code, changed image stretch mode to UniformToFill