small code cleanups on base flight controller