added fps counter to debug