minor fixes, partially implemented variable argument count system