Implemented CurrentPageChanged event + some minor corrections.