Suggested updates by forum member Ascend4nt - see http://www.freebasic.net/forum/viewtopic.php?f=6&t=20738