fixed bugs.
basic owner functionality almost working. work in progress.