Implemented setting URL parameter, improved pagination.