fixed crash if user debug table is empty and enabled by default, closes #3
implemented fps capping