Created a number of stub functions to get started on the creating batches.  There is Javascript in place but it needs debugging.  Also fixed some syntax in addtape.php.  The createbatch.php page is not working yet, much debugging and testing to do.