Improve performance when listing harge data by using limitTo filter, add filter to listing, use ->output->append_output(); to append data instead of 'echo' to avoid 'header already sent error', some other fixes