Various Fixes

This commit includes various fixes for the features at the time which
included LTA mode and rfi flagging. This commit would form version 2.1,
but as it is so delayed, new features will be created and added to this
branch, forming a new master version 2.(probably)4.