Added .inRunLoop to Function prototype extensions for easily wrapping functions in run loops