Moved activity creation down.

Without swap file this time!