when switching from fullscreen to windowed mode, the videorestart command should also take care to re-initialize AGAR.
videofullscreen 0
videorestart
--> agar windows unreadable (invalid font?); see attached image
--> depending on the screen size, the simulation control panel may also disappear
when switching from fullscreen to windowed mode, the videorestart command should also take care to re-initialize AGAR.