When calling the screenshot command (e.g. screenshot "myImage.png"), UI elements are not included (e.g. map, dialogs). Please add an option to include/exclude UI elements when calling the screenshot command.
New syntax could be:
screenshot ["myImage.png", true]; // Parameters: filename, include UI elements