Performance issues and other bugs [SOLVED]