Forgot to take out some debug stuff.
Started coding pagination... still needs some work, though.