Added timelyupdatestickies function and setbgimage