If you have 2 code windows open (and two tabs), switching between them doesn't cause the code in the editor to change. It seems the tabs must contain CUSTOM code snippets (not locked, standard libraries.) If I use the "Open Editors" panel in the upper left hand corner, it appears to use the correct code in the editor.