reworked movegen funky stuff