Bug fixes for mass analysis, amp and amp analysis stages.