LOCATE cirsor flag should have effect in screen 0 in execute mode
Merged in curdor flag foxes from release_14.08 branch
LOCATE cursor shape options should have no effect in graphical mode
reduced dependence on state variables in build_cursor