Scope of vars, and scope of functions
It seems that a var defined at the top of any frame, outside of a function, is visble to all frames. It that the case? If so, if the same variables are reassigned new values in each frame, is it better to declare them all in frame1?
Also, it seems that functions declared in one frame are seen as duplicate if used again in another frame. While it's fine it my application to share vars across frames, should functions all be declared as private to limit their scope to the frame in which they're located?
