Fixed some formatting problems and fixed bug 1007 aligning decimal comma amounts with period thousand separators.