Fixed some logic in falloc_init, updated flag usage