fixed front end, optimized database querys. more stable now.