Semi-working mount code.

Still buggy and crash prone but better than it was in past commits.