Faster!
This merge request consists of several independent commits which aim at making ToME4 faster:
- Add cache for particles & shaders to avoid loadfile & loadstring in game;
- Adjust the record of recent logs, making it faster and takes less space under extreme situation;
- Add cache for ShowChatLog dialog, making the scrolling smoother;
- Reduce the frequency of player's 'hit_warning' particle effects, which might spam too much (each damage number may create a particle effect).