allow direct access to map object
fixed bug on return value of setTImer and setPeriodic. should return the timer ID not delay