Don't mix two problems and think they are one

@RING67630; you mention that you use one tab for all of the variable declarations. I tried to do something similar but none of the functions on the other tabs could find the variable (I kept getting undefined variable errors). What has to be done to make your arrangement compile?