Frame limit re-enabled
Reformated the main