fixed file paths and implemented mulitple frames in a window