Moving each party instruction into separate function, make party loading page work, other bug fixes