This patch replaces the application patch 12.
Because the application was not checked in yet, I will not document the bugs I fixed in it.