Move os reader preprocess node functionality from OS base theme to OS reader.

#4021