--Written by Ryan Johnson
--Date: 2008-05-13
--http://fluidae.com/
--
--You make use this code freely.
--Currently runs only on linux and windows.
--
--Euphoria 3.0.0 or higher required for the idletask() procedure.
--If you have an older version, you can still use nanosleep() if you comment out idletask()