Added block removal and position detection, among various other minor changes