The horizontal bar is indeed a health/flooding bar for ships. The way to disable it is to go to the options menu when your in the subpen and then disable it in the Realism Menu.
The orange location marker for your submerged sub has to be gotten rid of with a mod. I think you can find it here:
http://www.subsim.com/radioroom/showthread.php?t=163639
Hope this helps.