Mdl26 uon fixes for issue #1, #3 & #4

Fix issue #1 & #3 Remove unused variables & global variable declarations …	1c3d8ab
Fix issue #4 Replace deprecated get_context_instance with context_xxx… …	0693d61