added FPS monitor, various other changes