added NOINLINE to error function
added NOINLINE to errorEmptyList
cleaned up whitespace