Fixes and features

See description of commits for details.

Minecarts are still not functional. Pistons also cannot push other pistons any more.