Added some error handling.
Changed Default in theme elements for fixed padding, yet relative ticklength and arrowsep.