fixes #2, fixes #22; improved contextPath handling, css issues fixed (by correcting include order)