Fixed limitation for number of custom main() arguments on Android.

Limitation was size of the reference table because local refs were not deleted.
Corrected header file guard comments.