Creating threads works; however, nothing gets written to them