added and implemented _getSafeElemSize()
fixed _getSafeElemSize() calls
fixed _getSafeElemSize()
refactored _getSafeElemSize()
cleaned up docBlock and tabs in _getSafeElemWidth()
Merge pull request #177 from pnorcross/_getSafeElemSize

(hopefully) Final fix for issue #109, Viewport Broken on Hide.