Hooked up all the remaining variables which were broken in the
refactoring. At previous point, needs to deal with passing back the
file_path and add texture type checking.