set frame limiter, added dirs for screen/widget code