Can't do much about that I'm afraid. Time can be ramped up, but it isn't really necessary overall. What I wish it would do is tell you that it will carry your post which it doesn't. So if it logs you out whilst typing, simply login and it will continue to post for you (you won't lose what you were typing). My overall advice is to make use of the post reply instead of the quick post box at the bottom, and periodically use the preview post option. That way you can hit back and it'll be guaranteed to be at least the last preview you did
BTW, you can use recursive directory iterators as well for your actual original question. I don't quite understand what ruleset you require in order to determine which is which, but you can combine filters with the iterators so that you only display certain things (such as titles matching a pattern, or technically even specific contents within a file although I haven't done that with a recursive iterator in the past). 60K+ files is a lot. While PHP can handle it, if you need to actually read anything within the file, I'd suggest a more robust language like C or C++ be used instead. Scripting languages like PHP will just be too slow to go through 30GB of data in a reasonable period of time.