Changed buffer stuff. Added preloader.